package net.chowda.castcluster;

import java.util.Date;

public interface Video {
    long getLengthInSeconds();

    String getId();

    String getAuthor();
    String getDescription();
    String getThumbnailUrl();

    String getUrl();
    long getVidSize();

    /**
     * @return content type.
     */
    String getVidType();

    String getTitle();

    Date getTimeUploaded();

    /**
     * @return true, if the video is viewable (some providers, like youtube, can turn off ebedability).
     */
    boolean isAvailable();
}
